Temporal type constructors for computer music programming
نویسنده
چکیده
This paper introduces temporal type constructors to computer music programming, and shows how they make languages more expressive. Music programming involves timestructured data types such as audio, MIDI, control signals, and streams of spectral frames. Each computer music language supplies some fixed set of these. Temporal type constructors are instead a way for the programmer to invent these kinds of data, with the ability to manipulate them and their elements. Algorithms expressed in this way can be remarkably brief and clear; FOF (Rodet, 1984) is given as an example.
منابع مشابه
Implementing Temporal Type Constructors for Music Programming
Applied to musical DSP programming, temporal type constructors enable high-level expression of sample-level algorithms. However, realizing this promise is not trivial. This work explains why, and describes a practical realization. This realization presents a functional interface onto a back end of interlinked objects. Its speed is a factor of two to ten off that of C++.
متن کاملSubtyping for Object Type Constructors
Object type constructors have been introduced as an approach to adding container object types to a language with type inference. Useful subtyping for object type constructors requires a flexible subtype rule for type constructors that is not simply the pointwise extension of subtyping for types. At the same time, subtyping should avoid requiring run-time type checks, as in the Java subtype rule...
متن کاملAn Experimental Classification of the Programming Patterns for Scheduling in Computer Music Programming
How to schedule a desired temporal pattern is one of the most elementary issues to consider when implementing a computer music system, and there already exist several major programming patterns for scheduling. However, such computer music-specific programming patterns seem to not be discussed as frequently as general programming patterns, and thus there may still be some necessity for additiona...
متن کاملAbstract Type Constructors for Java-like Languages
Type Constructors for Java-like Languages Philippe Altherr and Vincent Cremet
متن کاملElody: a Java+MidiShare based Music Composition Environment
This paper introduces Elody, a MidiShare compatible music composition environment developed in Java. The heart of Elody is a visual functional language derived from the λ-calculus. The languages expressions are handled through visual constructors and Drag & Drop actions allowing the user to play in realtime with the language.
متن کامل